package shajie.shajun.mmhf.Adapter.ViewHolder;

import android.databinding.ViewDataBinding;

import shajie.shajun.mmhf.Base.BaseRecyclerHolder;
import shajie.shajun.mmhf.Bean2.SearchOrder;
import shajie.shajun.mmhf.databinding.DialogOrderDetailBinding;

/**
 * Created by admin on 2017/11/27.
 */

 public class Re30OrderHolder extends BaseRecyclerHolder {
    private DialogOrderDetailBinding mBinding;
    public Re30OrderHolder(ViewDataBinding binding) {
        super(binding);
        this.mBinding = (DialogOrderDetailBinding)binding;
    }
    @Override
    public void init(Object c, int position) {
        mBinding.setOrder((SearchOrder) c);
        mBinding.setPosition(position+1);
        mBinding.executePendingBindings();
    }
}
